﻿* {
    margin: 0;
}

a {
    cursor: pointer;
    margin-left: 4px;
    color: #1890ff;
    text-decoration: none !important;
}

.table-center, .th-center, .td-center, .table-center th, .table-center td {
    text-align: center;
}

.table-left, .th-left, .td-left {
    text-align: left;
}

.th-right, .td-right {
    text-align: right;
}

.td-title {
    text-align: right;
    white-space: nowrap;
}

.table-container {
    padding-bottom: 50px;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 22px;
    padding: 15px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

html {
    background-color: #f3f3f4;
}

body {
    margin: 0;
    background-color: #fff;
}

.actionlink {
    color: #2295ff;
    cursor: pointer;
}

.successSpan, .successOutSpan, .dangerSpan, .dangerOutSpan, .changeSpan, .changeOutSpan, .undoSpan, .outlineSpan, .btnblue, .defaultSpan, .defaultOutSpan {
    display: inline-block;
    margin: 0 2px;
    height: 20px;
    line-height: 20px;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.defaultSpan {
    border: 1px solid #2295ff;
    color: #fff;
    background-color: #2295ff;
}

.defaultOutSpan {
    border: 1px solid #2295ff;
    color: #2295ff;
    background-color: #fff;
}

.successSpan {
    color: #fff;
    background-color: #19be6b;
}

.successOutSpan {
    border: 1px solid #19be6b;
    color: #19be6b;
    background-color: #fff;
}

.dangerSpan {
    color: #fff;
    background-color: #ff0000;
}

.dangerOutSpan {
    color: #ff0000;
    background-color: #fff;
    border: 1px solid #ff0000;
}

.changeSpan {
    color: #fff;
    background-color: orange;
}

.changeOutSpan {
    color: orange;
    border: 1px solid orange;
    background-color: #fff;
}

.btnblue {
    color: cornflowerblue;
    border: 1px solid cornflowerblue;
}

.undoSpan {
    color: #fff;
    background-color: #aaaaaa;
}

.outlineSpan {
    color: #666;
    border: 1px solid #aaaaaa;
}

.subtitle {
    font-size: 14px;
    font-weight: bold;
    color: #4B8DF8;
    margin: 10px 0 20px 30px;
}

.msgtips {
    width: 310px;
    color: #555;
    border: 1px solid #4B8DF8;
    padding: 8px;
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    border-radius: 2px;
    line-height: 1.8;
}

.search-head {
    margin-left: 30px;
}

.lb_bolder {
    font-weight: bolder;
}

.toolbar .layui-btn, .search-head .layui-btn {
    height: 28px;
    line-height: 28px;
}

.search-head .layui-input {
    height: 28px;
}

.search-head .layui-form-label {
    padding-top: 4px;
    padding-bottom: 4px;
}

.bootstrap-table .table > thead > tr > th {
    /*background-color: #f1f1f1;*/
    background-color: #fafafa;
    color: #666;
    font-size: 15px;
}

.bootstrap-table .table {
    border-bottom: none;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    vertical-align: middle;
}

.bootstrap-table .table > thead > tr > th, .bootstrap-table .table > tbody > tr > td {
    /*border-color: #e5e5e5;*/
    border-color: #efefef;
}

.fixed-table-container {
    border-color: #e5e5e5;
}

    .fixed-table-container thead th, .fixed-table-container tbody td {
        border-left-width: 0;
        height: 40px;
    }

    .fixed-table-container .table-border thead th, .fixed-table-container .table-border tbody td {
        border-left-width: 1px;
    }

.table-hover > tbody > tr:hover {
    background-color: #eff8fd;
}

.fixed-table-container tbody .selected:hover td {
    background-color: #eff8fd;
}

.fixed-table-container {
    border: none !important;
}

    .fixed-table-container:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: #e5e5e5;
    }

    .fixed-table-container .table {
        /*border: #e5e5e5 1px solid !important;*/
        border: #f1f1f1 1px solid !important;
        border-right: none !important;
    }

.pagination-detail .page-list {
    display: none;
}

.pagination > li > a, .pagination > li > span {
    color: #666;
}

.pagination > li > a, .pagination > li > span {
    margin-left: 5px;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    /* background-color: #70c0f5; */
    background-color: #1890ff;
    border-color: #46adf1;
}

.fixed-table-pagination div.pagination, .fixed-table-pagination .pagination-detail {
    margin-top: 15px;
}

.pagination > li:first-child > a, .pagination > li:first-child > span, .pagination > li:last-child > a, .pagination > li:last-child > span {
    border-radius: 0;
}

.fixed-table-pagination .pagination a {
    padding: 2px 10px;
    line-height: 22px;
}

.layui-btn[disabled] {
    background-color: #adadad !important;
    cursor: not-allowed;
}

.layui-btn.btn-search {
}

.layui-btn.btn-add {
    /* background-color: #70c1f6; */
}

.layui-btn.btn-delete {
    background-color: #ff8884;
}

.layui-btn.btn-edit {
    background-color: #34ca8c;
}

.layui-btn.btn-print {
    background-color: #ff7f50;
}

.layui-btn.btn-exporttab {
    background-color: #daa520;
}

.btn-bg-red {
    background-color: #f00 !important;
}

.btn-bg-lightRed {
    background-color: #ff8884 !important;
}

.btn-bg-orange {
    background-color: #ffa500 !important;
}

.btn-bg-green, .btn-setAttendanceDayRule {
    background-color: #34ca8c !important;
}

.btn-bg-green, .btn-setAttendanceHoursRule {
    background-color: #34ca8c !important;
}

.btn-bg-darkGreen {
    background-color: #00ced1 !important;
}

.btn-bg-blue {
    background-color: #1890ff !important;
}

.btn-bg-lightBlue {
    background-color: #70c1f6 !important;
}

.btn-bg-tomato {
    background-color: #ff7f50 !important;
}

.btn-bg-peru {
    background-color: #daa520 !important;
}

.btn-bg-gray {
    background-color: #adadad !important;
}

.advancedSearchDiv {
    display: none;
    position: absolute;
    background-color: White;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.35);
    border: 1px solid #bbb;
    border-radius: 4px;
    z-index: 200;
    padding: 10px 20px 20px 20px;
    margin: 0;
}

    .advancedSearchDiv table tr td {
        padding: 6px 0;
    }

    .advancedSearchDiv .td-right {
        white-space: nowrap;
    }


.position-container {
    padding: 8px;
}

.position-label {
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid #1890ff;
    color: #1890ff;
    border-radius: 4px;
}


html.theme-dark, .theme-dark body {
    background-color: transparent;
}

.theme-dark body {
    margin: 10px 0;
    padding: 0;
    color: #cbecfb;
}

.theme-dark .search-head {
    margin-right: 10px;
}

    .theme-dark .search-head .layui-input {
        border: #0e87d6 1px solid;
        background-color: transparent;
    }

.theme-dark .fixed-table-container .table {
    border: none !important;
}

.theme-dark .bootstrap-table .table > thead > tr > th {
    border: none;
    color: #cbecfb;
    background-color: transparent;
}

.theme-dark .bootstrap-table .table > tbody > tr > td {
    border-bottom: #104066 1px solid;
}

.theme-dark .table-hover > tbody > tr:hover {
    background-color: #0f2558;
}

.theme-dark .fixed-table-pagination {
    padding: 0 10px;
}

.theme-dark .pagination > li > a, .pagination > li > span {
    color: #cbecfb;
    background-color: transparent;
}

.theme-dark .fixed-table-pagination li.disabled a,
.theme-dark .pagination > .disabled > a,
.theme-dark .pagination > .disabled > a:focus,
.theme-dark .pagination > .disabled > a:hover,
.theme-dark .pagination > .disabled > span,
.theme-dark .pagination > .disabled > span:focus,
.theme-dark .pagination > .disabled > span:hover {
    color: #cbecfb;
    background-color: transparent;
    pointer-events: auto;
    cursor: not-allowed;
}

.theme-dark .pagination > .active > a,
.theme-dark .pagination > .active > a:focus,
.theme-dark .pagination > .active > a:hover,
.theme-dark .pagination > .active > span,
.theme-dark .pagination > .active > span:focus,
.theme-dark .pagination > .active > span:hover {
    background-color: #1890ff;
    border-color: #fff;
}

.theme-dark .search-body {
    overflow-x: hidden;
}

    .theme-dark .search-body .bootstrap-table {
        position: relative;
        left: 1px;
    }

.main .btn-item .iconfont {
    vertical-align: middle;
}

.main .btn-item .icon-baocun,
.main .btn-item .icon-fanhui {
    margin-right: 5px;
}
